package com.lcm.test.designpatterntest.AbstractFactory;


/**
 * @description:
 * @author: lcm
 * @create: 2020-03-11 17:49
 **/

public class Type2Factory extends AbstractFactory  {

    @Override
    public AbstractProduct createA() {
        return new ProductA2();
    }

    @Override
    public AbstractProduct createB() {
        return new ProductB2();
    }

}
